Added Thank you route and added a database/database calls