Reverting changes to try to fix login issue