Fixed team creation so that it worked.
Adding stuff for members awaiting authorisation