Signup, login and logout user api methods should all work. Also created
validateUser method in user class to use by other apis