Streamlining Login Functionality with providers