Adding createNotFoundException(), getRequest(), getUser(), createForm() and createFormBuilder() functions