It is developed by using the guidance of railscasts http://railscasts.com/episodes/209-introducing-devise?view=asciicast