fixing front-end bugs and adding image uploader