added logout functionality to server
added a temporary login page that can be redirected to after logout