Check writable permission on file's template
Fixed variable name
Fixed test condition on requested action
Session already started in \service::auth()
Merge pull request #15 from flubble/devel

Check writable permission on file's template