Code fix to user-profile.php

Signed-off-by: Luke Oatham <lukeoatham@gmail.com>