Whoa oops I'm an idiot
Applied Authentication Patch
Applied Authentication Patch
latest authentication stuff
latest authentication stuff
Cleanup
Oh man does this search work.
Merge branch 'api' into frontend
Moved artists collection into artist model
Tons of comments to explain this mess.
Tons of comments to explain this mess also.
Better handling of unauthed requests
Merge branch 'api' into frontend
I guess I should commit once in a while
Lazily load exports to remove cyclic deps

Turns out if you have a two-way relationship in a DB, and want to reuse
your models, you can't just have each require the other AND get
something out of that import's "module.exports", like this:

    var Playlist = require("./playlist").model

This loads the dependency in full, and all its requirements. So, if
there's a cyclic dependency, it'll cause errors in your code. Instead,
this sort of pattern works nicely:

    // At the top
    var Playlist = require("./playlist")

    // in the body of your code somewhere, for example
    this.belongsTo(Playlist.model, "PlaylistID");
Added play relationships
The start of sorting
sortable works again. wow I hate mismatched versions.
Updates FINALLY WORKING
SORTING PLAYLISTS WITH DRAG AND DROP WORKS