add register and login

add register and login