register/login/forgot pass implementation