Function to get all unjoined groups for the user