Adding user authentication via session serialization