Finished up authenticated function, and also changed the way custom session properties can be set