rewrite user login view