Made refactoring of the frontend to optimize the processing of user
registration. Excluded the username validation