minor changes
initial server code
added login and logout