changed all [:authorized] flashes to [:error] flashes, moved flash assignment before redirects, all redirects for unauthorized urls now redirect to roo_path instead of back