Updated image path and general cleanup

Added some comments and cleaned unused code
Fixed image path
Added alert if they try to upload an image without a username setup