Fixes forms and redirect