updated recipe contorller to prep for localhost use