trying to fix issues with login routes