Backbone.js short sample. Login page, home page, error page and page with table, which operating with database through JSON(in sample for simplicity used localStorage as db)