added admin and basic user roles and logic