updating user profile implemented
cleanup code
change reference to redirect