Fix a typo
Refactor a partial which shows flash messages
Refactor an action
Update the contributing section in README