Implement logout routine
Start to implement register new user routine