add user login and file upload controller