Added role and teams functionalities