Fixed security bug to allow people to access login page