bugs in createUserView fixed