Flexible and simple session management for Backbone apps