add devise to make it work