Fixed some errors in user creation, and getting