Added a function for using a Yesod context without being inside a MonadHandler