seperate the upload controller
add an alert for upload success
modify database
add filter for upload