Basic framework for login/register/remember username & password.