Added the backend for Group Registration page.

Signed-off-by: Vidhant Maini <vidhant_14@hotmail.com>

Updated error display in group registration.
Added redirection to homepage on successful group registration.
Fixed coding-style.

Signed-off-by: Vidhant Maini <vidhant_14@hotmail.com>

Add checks for number of form parameters received.

Signed-off-by: Vidhant Maini <vidhant_14@hotmail.com>
Merge pull request #3 from vidhant/group

Added the backend for Group Registration page.