better error handling in login
update download URL
remember login data