mapper typo
implemented database autentication