restructured views and added dashboard pages