Not allowing to create nil valued variables with API requests

Making set_values set the values only for the registered and
authenticated users