fixed add group bug, now clears form values
fixed bugs with login process