worked on alarm page and register page also persistant login for admin user