Add base code for dashboard