Add new action :upload into the StaticPagesController to handle uploaded images