fix to avoid IntegrityError in saving
Added a rough draft of the dashboard view