fixed some login page issues