add devise to tests and implement basic flash messages