progress on login and register actions