able to serialize objects and let a user logs in