Added possibility to logout