Modified Auth.js to serialize user into session