Merge pull request #16 from Benoitlecorre/integrate_devise

bug fix