ammended deprecated devise code
test coverage for ogging in and signing up improved