fixing dashboard and working on admin security