added session and admin