added functionality to profile and feed