adding Dashboard Logic and Page