almost got devise working