rename login view and fix some flash messages