Was getting weird syntax on upload.html so I moved it to a JSP and renamed it uploadScreen.jsp  and fixed the check username for session so it loads the logged in user