added devise and stlyed alert messages