add the preinscription handling and fix the sign in error redirection.
Merge branch 'master' of github.com:Oxynum/mysquash