Fixing pathing for authentication