Added join, login and logout