added option to pass request to display forms