added profile edit on frontend