changed databasecreate to login_check