registration process implemented; minor fixes