Removal of an echo, check if options is set.

We removed an echo and we make sure the options does not equal false.

[Branch: development]
acceot a option group name and changed redirect.

We now accept an option group name for the reset function, default null.
we also have one default redirect method.

[Branch: development]