update view.blade to fix a bug where a user profile returns no object if there is no first name or last name