added add restaurant function to front end