updated login view file