added devise changes