Added ability to disable logging in for non-staff members.