fixed create and login user