refactored and added login and signup