database add and get requests