add devise authentication support