added Devise

added devise for record control