Added login and file upload