file merge for check_login