Fixed login page issues