First working version, lot of fixes and improvements
Merge branch 'master' of https://github.com/patriciomase/patoauth