added galleries endpoint