view login page improved