Better user profile error checking