use of $token instead of saving the password in the session; fixed typo for bad_instance
eliminate duplicate groups occurring through recursion
Merge pull request #8 from xelan/master

use of $token instead of saving the password in the session; fixed typo ...