developed login and register