Added API to navbar