Added authenticate module with login authentication