Delete useless session view
Move flash helpers to a separate file