add register and logout
Merge branch 'develop'