added cc errors, some spacing, redirect_to's