adding view and migrations