registration procedure with groups and autologin.