Made profile's a little more accessible and put profileId into session