Only get environments if user exists. Only perform userId match if signed in