moved authentication login into AuthService
moved logout into auth service