Fixed devise model issue