Pyramid: Improved signin. Added signout.