Serialize user object in php session