Fixing Forms types
Refactor: Changed request.setAttribute