1st attempt to fix login problem