Slight fix to EditProfile and searchDB