fixed naming bug in upload_image
fixed bug with reset password where function did not retun result
fixed bug with reset password not returning a value