Added some routing and functionality/tests to the LoginPovider