Added Active Model compliance and form sending