fixed details of handling user registration with modal menu