refactored loging to platform
added login to platform
initial upload support