Added passing user names to user registration