Added validation of user authentication in  UsersController. #13.