Added extra search functionality, file upload, and logging out