manage signup and login.

manage signup and login.