TMS: admin can now add and modify database records

TODO: admins should also be able to delete records.