fixed session.userID so it will appear, hopefully. Also much cleaning.