refactor users controller
refactor users controller

changed before_filer to before_action because it is going to be
deprecated in rails 5 anyway.

TheOdinProject/theodinproject,TheOdinProject/theodinproject,TheOdinProject/theodinproject,TheOdinProject/theodinproject