registration form connected with db