Added authentication system to the application