Added sidebar and dashboard page, fixed some issues