Connecting form to view