fixing login page issues