changing buttons on login
implemented logout
removed thrift dependency