Add databse functions for contact form