finally got devise working properly