got logout change functioning and returning user session information for profie view