Implemented DB methods for persist_user and get_user