adding favorites frontend