added logout, and admin dashboard