Add a TasksController with a #create method to create a new Task for the user.
Create a before_filter for authenticating a user during JSON calls, since we can't redirect to the login page.