fix for login helpers