Moved over to devise framework