Resolved sign out issue, updated comments, etc.