Adding new endpoint for badges