Fixes some login view issues