added getters/setters; added config for login/logout redirects
removed pvdSession dependency
added missing $location dependency