work on login and register features /MRG