first rest-method add database