private headers: HttpHeaders = new HttpHeaders({
'Content-Type': 'application/x-www-form-urlencoded',
});
constructor(private http: HttpClient){}
loginWithEmailAndPassword(email: string, password: string){
return this.http.post(this.url, {email: email, password: password}, {headers: this.headers});
}