Added the basic functionality when an user is added to a practical group...

... when it is added to a practical.