Added an at_exit function for logout and removed User#login as well as User#close/User#logout.
Added class Image and Image.new. Added API#user_login and removed API.user_login. Updated User.new.