added some front end to the main page ang began backend for the inquiries page