modify accept_login
rewrite accept_login