login_check to new db