                     location = config.RESOURCES_PREFIX + '/users/'
                     location += (encodeURIComponent user.uri)
                     @redirect location
+                    @success "Added user '#{@params.name}'"
                 error: (code, message) => @error message
 
         # Lookup variant form.

                    location = config.RESOURCES_PREFIX + '/data_sources/'
                    location += (encodeURIComponent data_source.uri)
                    @redirect location
                error: (code, message) => @error message

        # List samples.

                    location = config.RESOURCES_PREFIX + '/samples/'
                    location += (encodeURIComponent sample.uri)
                    @redirect location
                    @success "Added sample '#{@params.name}'"
                error: (code, message) => @error message

        # Show sample.
