small changes before updating devise for restful authentication