add pages for device view and add form