Changed the return datatype for formhandler