Added authenticate_user callback method