refactor controller helpers, define an authorization helper
paasprovider image support through paperclip