access set for all routes, image mangement

NOTE: new db update
route fix
Merge branch 'master' of https://github.com/draca/storageapp

Conflicts:
	app/api/index.php