profile view and corresponding backend functionality