alert flash messages created
flash message method created in helper
refactor private method inside app_controler for flash messages