Refactored Users controller, added login functionality(partial)