working on upload page functionality and validation