fixed location of bootstrap.js
moved server logic to server module
added signout option