added login and signup methods to users controller