removed dysfunctional logout() function