Add user manipuilation functions to db