Add api endpoint for Genres.  Fix bug with SQL in Genre