devise functional

devise now working