Adds sessions controller for JSON output on logins