implement get and set methods to make easier to define session variables