Add flash messages service to make home controller thinner and remove error directive