Authentication Middleware

	* Fixed code on middleware Authentication
	* Removed body
Fixed book api

	* Changed tasklist on book to task
Report fixes

	* Changed report api to use valueForKey
Updated gitignore
Fixed index.php

	* Changed order of middleware
	* Added templates to gitignore