Register user and login start