Add comment for methods, and fix clearSession methods
Fix register