added create_new_user method and updated LoginHandler to use it