made the User object json serializable by default