added dashboard view, services and some logic