added user registration
updated user login