Add flash to render temp message
Fix bug that rendered user profile incorrectly