add entry model and get post request to work