new user registration - need to fix the login problem