-fixed user registration