remove useless imports
rewrite login-check