Cleanup in whitespace
Removed debug statement
Added flash message rendering