Added hidden_field_tag insted of session