Working Login and user creation