customized paperclip path and url, added file size validation