trying to fix login in testing