got devise authentication working