Added partials. Cleaned up flash messages