Added simple login and logout