Named framework and added some security features to session handling.