Added custom authentication system.