more robust exception handling
add "expires" member to Usre
adding some code to display the expiration date