Added login_required for profiling view.