declare function for handling the Register button
Merge branch 'master' of https://github.com/galioy/MOB

Merge