fix devise to authenticate with both models differently