fixes some login things