added more functionality to uploading + css