adds refactorings for authentication controller
Merge branch 'master' of github.com:tlux/tasdy-authentication