attempt to fix login bug