changes in creating user - fixed bug