Added function to test if userinfo has been updated.

also cleaned comments.