Bugfix

Bugfix for registering. Now displays message when no fields are filled
in.