added fix for login page