added sessions and admin controller