registering users
all functions requiring login
Merge pull request #2 from r4bugento/master

Registering users and  all functions requiring login