Basic authentication with nHibernate and mysql completed. Register and login.