login and register manually