Fixed login and dashboard access