Adding testing evironment and fixing routing bug and adding changing role functionality
adding extra check if there is always an admin for each team