registration user functionality was implemented