add some login helpers