made logout/login button appear/disappear when loggin in, and vice versa. changed some routing function and urls to reflect loggng in/out. added req.session.userName key to session object also.