merged both authentications into a single auth service in angular